package me.jiatao.usercenter.mvp.service

import io.reactivex.Observable
import me.jiatao.usercenter.data.protocol.UserInfo

interface UserService {

    /**
     *  用户注册
     */
    fun register(mobile: String, pwd: String, verifyCode: String): Observable<Boolean>

    /**
     * 用户登录
     */
    fun login(mobile: String, pwd: String): Observable<UserInfo>
}